<?php
    require('./config.php');
    require('./includes/Smarty/Smarty.class.php');
    define("TEMPDIR",$template_dir);
    define("COMPDIR",$compile_dir);
    define("CONFIG",$config_dir );
    define("CACHEDIR",$cache_dir);
    define("ISCACHE",$iscache);

class Template extends Smarty 
{
    function Template() 
   { 

        
        $this->Smarty(); 

        $this->template_dir = TEMPDIR; 
        $this->compile_dir  = COMPDIR ; 
        $this->config_dir   = CONFIG; 
        $this->cache_dir    = CACHEDIR ; 
        $this->caching         = ISCACHE; 
           
   } 

}

?>
